/*
 * Frase.h
 *
 *  Created on: Oct 9, 2012
 *      Author: romina
 */

#ifndef FRASE_H_
#define FRASE_H_

#include <iostream>
#include <sstream>
#include <string.h>
#include "../../Persistencia/Persistor.h"
#include "../../Persistencia/Serializable.h"
#include "../../Exceptions/NotNullException.h"

using namespace std;

class Frase : Serializable{
	string frase;
public:
	Frase(string frase);
	int getTamanio();
	string toString();
	void serializar(char * buffer, unsigned int &offset);
	void deserializar(char * buffer, unsigned int &offset);
	virtual ~Frase();
};


#endif /* FRASE_H_ */
